package com.hckjsec.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
 * 考勤主对象 work_oa_cwa
 * 
 * @author cyt
 * @date 2021-06-26
 */
public class WorkOaCwa extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long cwaId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String username;

    /** 用户id */
    @Excel(name = "用户id")
    private String usercode;

    /** 考勤日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考勤日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date attendancedate;

    /** 考勤类别 */
    @Excel(name = "考勤类别")
    private Integer category;

    /** 打卡时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "打卡时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date pthTime;

    /** 考勤分类 */
    @Excel(name = "考勤分类")
    private Integer classification;

    /** 考勤状态 */
    @Excel(name = "考勤状态")
    private Integer state;

    /** 考勤地点图片 */
    @Excel(name = "考勤地点图片")
    private String positionPhoto;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 关联编号 */
    @Excel(name = "关联编号")
    private String special;

    /** 考勤地址 */
    @Excel(name = "考勤地址")
    private String address;

    /** 手机品牌 */
    @Excel(name = "手机品牌")
    private String brand;

    /** 手机型号 */
    @Excel(name = "手机型号")
    private String model;

    /** 手机唯一编码 */
    @Excel(name = "手机唯一编码")
    private String deviceid;

    /** 手机系统 */
    @Excel(name = "手机系统")
    private String system;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date operTime;

    public void setCwaId(Long cwaId) 
    {
        this.cwaId = cwaId;
    }

    public Long getCwaId() 
    {
        return cwaId;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setUsercode(String usercode) 
    {
        this.usercode = usercode;
    }

    public String getUsercode() 
    {
        return usercode;
    }
    public void setAttendancedate(Date attendancedate) 
    {
        this.attendancedate = attendancedate;
    }

    public Date getAttendancedate() 
    {
        return attendancedate;
    }
    public void setCategory(Integer category) 
    {
        this.category = category;
    }

    public Integer getCategory() 
    {
        return category;
    }
    public void setPthTime(Date pthTime) 
    {
        this.pthTime = pthTime;
    }

    public Date getPthTime() 
    {
        return pthTime;
    }
    public void setClassification(Integer classification) 
    {
        this.classification = classification;
    }

    public Integer getClassification() 
    {
        return classification;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setPositionPhoto(String positionPhoto) 
    {
        this.positionPhoto = positionPhoto;
    }

    public String getPositionPhoto() 
    {
        return positionPhoto;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setSpecial(String special) 
    {
        this.special = special;
    }

    public String getSpecial() 
    {
        return special;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setDeviceid(String deviceid) 
    {
        this.deviceid = deviceid;
    }

    public String getDeviceid() 
    {
        return deviceid;
    }
    public void setSystem(String system) 
    {
        this.system = system;
    }

    public String getSystem() 
    {
        return system;
    }
    public void setOperTime(Date operTime) 
    {
        this.operTime = operTime;
    }

    public Date getOperTime() 
    {
        return operTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cwaId", getCwaId())
            .append("username", getUsername())
            .append("usercode", getUsercode())
            .append("attendancedate", getAttendancedate())
            .append("category", getCategory())
            .append("pthTime", getPthTime())
            .append("classification", getClassification())
            .append("state", getState())
            .append("positionPhoto", getPositionPhoto())
            .append("remarks", getRemarks())
            .append("special", getSpecial())
            .append("address", getAddress())
            .append("brand", getBrand())
            .append("model", getModel())
            .append("deviceid", getDeviceid())
            .append("system", getSystem())
            .append("operTime", getOperTime())
            .toString();
    }
}
